package com.hnchances.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnchances.common.vo.ResultVo;
import com.hnchances.entity.Grades;
import com.hnchances.entity.vo.GradeVo;

import java.math.BigInteger;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2022-08-11
 */
public interface GradesService extends IService<Grades> {

    ResultVo add(Grades grades);

    ResultVo delete(BigInteger gradeId);

    ResultVo select(GradeVo gradevo, Integer pageNum, Integer pageSize);

    ResultVo updateGrade(Grades grades);
}
